<!--
 * @Author: guoqianqian guo15837856772@163.com
 * @Date: 2022-08-30 15:07:56
 * @LastEditors: guoqianqian guo15837856772@163.com
 * @LastEditTime: 2022-09-27 18:42:12
 * @FilePath: \alipayh5\public\index.html
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<!DOCTYPE html>
<html lang="">

<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=no">
  <!-- 在 head 标签中添加 meta 标签，并设置 viewport-fit=cover 值 -->
  <!-- <meta name="viewport"
    content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, viewport-fit=cover" /> -->
  <!-- <link rel="icon" href="<%= BASE_URL %>favicon.ico"> -->
  <!-- 清缓存 -->
  <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
  <meta http-equiv="Pragma" content="no-cache" />
  <meta http-equiv="Expires" content="0" />
<!--  -->
  <title>
  </title>
  <script src="https://res.wx.qq.com/open/js/jweixin-1.6.0.js"></script>
  <script>
    (function (w, d, s, q, i) {
      w[q] = w[q] || [];
      var f = d.getElementsByTagName(s)[0],
        j = d.createElement(s);
      j.async = true;
      j.id = 'beacon-aplus';
      j.src = 'https://d.alicdn.com/alilog/mlog/aplus/' + i + '.js';
      f.parentNode.insertBefore(j, f);
    })(window, document, 'script', 'aplus_queue', '203467608');
  </script>
</head>

<body>
  <noscript>
    <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled.
      Please enable it to continue.</strong>
  </noscript>
  <div id="app"></div>
  <script src='//cdn.bootcss.com/jquery/3.3.1/jquery.min.js'></script>
  <!-- <script src="../src/util/smile.js"></script> -->
  <script>
    function dfpinfoFunciton() {
      var today = new Date();
      var year = today.getFullYear() + 1;
      var month = today.getMonth() + 1;
      var day = today.getDate();
      var ymd = year + "" + month + "" + day;
      var oHead = document.getElementsByTagName('HEAD').item(0);
      var oScript = document.createElement("script");
      var bsdfp = null;
      oScript.async = true;
      oScript.type = "text/javascript";
      oScript.src =
        "https://dfp.cmft.com.cn/dfp/public/downloads/frms-fingerprint.js?custID=dfp&serviceUrl=https://dfp.cmft.com.cn/dfp/public/generate/jsonp&channel=WEB&autoExec=false&ymd=" +
        ymd;
      oHead.appendChild(oScript);
      oScript.onload = function () {
        bsdfp = new BSDeviceFingerprint();
        var op = {
          extendFields: []
        };
        bsdfp.getFingerprint(op, function (dfpInfo) {
          window.localStorage.JK_dfpInfo = JSON.parse(dfpInfo).dfp;
          let data = JSON.parse(dfpInfo).dfp
          console.log(data,"data");
          localStorage.setItem('dfpinfo',data);
        });
      }
    }
    dfpinfoFunciton()
  </script>
</body>

</html>